import request from '@/utils/request'

export function get(data) {
  return request({
    url: '/api/reportDailyCostIn',
    method: 'get',
    params: data
  })
}

export function toExport(data) {
  const obj = {
    url: 'api/reportDailyCostIn/export',
    method: 'get',
    data
  }
  return request(obj)
}

export default { get, toExport }
